<?php
/**
 * @desc: 运算抽象类
 * @date: 2021/10/19
 */

namespace Part08_FactoryMethodModel\Code2;

abstract class Operation{
    private $numA = 0;
    private $numB = 0;

    public function getNumA(){
        return $this->numA;
    }

    public function setNumA($numA){
        $this->numA = $numA;
    }

    public function getNumB(){
        return $this->numB;
    }

    public function setNumB($numB){
        $this->numB = $numB;
    }

    public abstract function getResult();
}


